package com.hodgepodge.api.service.impl;

import com.hodgepodge.api.mapper.TagMapper;
import com.hodgepodge.api.service.TagService;
import com.hodgepodge.commons.base.service.impl.SuperServiceImpl;
import com.hodgepodge.commons.entity.Tag;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 标签表 服务实现类
 * </p>
 *
 * @author jiangjian
 * @since 2021-02-04
 */
@Service
public class TagServiceImpl extends SuperServiceImpl<TagMapper, Tag> implements TagService {

    @Resource
    private TagMapper tagMapper;

    @Override
    public List<Tag> getListByCondition(Tag tag) {
        return tagMapper.getListByCondition(tag);
    }
}
